CC := gcc
CFLAGS := -std=c89

OBJ := $(patsubst %.c,%.o,$(wildcard *.c))

all: $(OBJ)

%.o: %.c
	$(CC) -o $@ $< $(CFLAGS)

.PHONY: clean

clean:
	-rm -rf *.o